* {
    margin: 0;
    padding: 0;
}

#calendar {
    margin: 90px auto 30px;
    width: 50%;
    box-shadow: 0 0 10px #999999;
    padding: 3% 1%;
}

#calendar .header {
    overflow: hidden;
}

#calendar .header .year {
    width: 70px;
    height: 30px;
    float: right;
    border: 2px solid #dbd6d6;
    margin-right: 20px;
}

#calendar .header .year select {
    width: 70px;
    height: 30px;
    outline: none;
    border: none;
}

#calendar .header .month {
    width: 60px;
    height: 30px;
    float: right;
    border: 2px solid #dbd6d6;
}

#calendar .header .month select {
    width: 60px;
    height: 30px;
    outline: none;
    border: none;
}
#calendar button{
    width: 50px;
    height: 34px;
    float: right;
    border: 2px solid #dbd6d6;
    background: #fff;
    margin-left: 20px;
}
#calendar .btn_year{
    border: 2px solid skyblue;
}

#calendar .main {
    width: 100%;
    height: 450px;
    margin-top: 40px;
}

#calendar .main ul {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-top: 2px solid #dfdddd;
}
#calendar .main ul li{
    list-style: none;
    width: 14.28%;
    height: 14.28%;
    float: left;
    text-align: center;
    font-size: 16px;
    line-height: 65px;
}
#calendar .main ul li:hover{
    background-color: #d4d4d4;
}
#calendar .cld-cur{
    background-color: rgb(174, 225, 245);
    color: slateblue;
}
#calendar .line{
    color:red
}
#calendar .cld-old{
    color: rgb(191, 187, 218);
}

#calendar table{
    width: 100%;
    height: 450px;
    display: none;
}
#calendar table td{
    display: inline-block;
    width: 31%;
    height: 110px;
    text-align: center;
    border-top: 1px solid #dfdddd;
    margin: 0 1%;
}
#calendar table td:hover{
    background-color: #d4d4d4;
}
